package com.woniu.exception.venueClassroom;

public enum VenueClassroomExceptionCode {
    VENUE_CLASSROOM_NOT_EXIST(40001, "场馆教室不存在"),
    VENUE_CLASSROOM_STATE_ERROR(40002, "场馆教室状态错误"),
    VENUE_CLASSROOM_HAD_EXIST(40003, "场馆教室已存在"),
    ;


    private final Integer code;
    private final String message;

    VenueClassroomExceptionCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
